package com.h3c.nem.service;

import com.github.pagehelper.PageInfo;
import com.h3c.nem.dto.PageQueryDTO;
import com.h3c.nem.dto.mapstruct.NewWorkerDTO;
import com.h3c.nem.entity.TbCareInfo;
import com.h3c.nem.vo.TbCareEncourageVO;

/**
 * 新员工鼓励Service
 *
 * @author z22968
 * @date 2022/6/17 14:39
 */
public interface ITbCareEncourageService {

    /**
     * 分页获取已鼓励/未鼓励人员名单
     *
     * @param pageQuery
     * @return com.github.pagehelper.PageInfo<com.h3c.nem.dto.mapstruct.NewWorkerDTO>
     * @author z22968
     * @date 2022-06-20 16:57
     */
    PageInfo<NewWorkerDTO> getEncourageList(PageQueryDTO<TbCareEncourageVO> pageQuery);

    /**
     * 分页获取 接收到的鼓励
     *
     * @param pageQuery
     * @return com.eos.common.util.Result
     * @author z22968
     * @date 2022-06-27 14:15
     */
    PageInfo<NewWorkerDTO> getReceiveEncourageList(PageQueryDTO<TbCareEncourageVO> pageQuery);

    /**
     * 添加/忽略鼓励
     *
     * @param tbCareEncourageVO
     * @return void
     * @author z22968
     * @date 2022-06-28 09:43
     */
    void insert(TbCareEncourageVO tbCareEncourageVO);

    /**
     * 批量添加
     *
     * @param tbCareEncourageVO
     * @return void
     * @author z22968
     * @date 2022-06-28 16:57
     */
    void batchInsert(TbCareEncourageVO tbCareEncourageVO);
}
